package org.sky.logger.http.support;

import org.apache.http.HttpMessage;
import org.sky.logger.http.AbstractHttpHeadType;

/**
 * Apache httpclient 头部类型
 * 
 * @author gaofu
 *
 */
public class HttpClientHeadType extends AbstractHttpHeadType<HttpMessage> {

	public Class<HttpMessage> headType() {
		return HttpMessage.class;
	}

	public boolean addHeader(HttpMessage head, String key, String value) {
		head.addHeader(key, value);
		return true;
	}

}
